﻿<UserControl x:Class="AtletIS.Shared.WpfControls.HeaderBox"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="60" d:DesignWidth="790" Loaded="UserControl_Loaded">

    <Border
        BorderThickness="1"
        BorderBrush="SteelBlue" Background="White"
        CornerRadius="10"
        Margin="5">

        <Grid>

            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="25px"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="25px"/>
            </Grid.ColumnDefinitions>

            <TextBlock
                    Name="txtTitle"
                    Grid.Column="1"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Center"
                    FontSize="24"
                    Foreground="SteelBlue"
                    Text="Long jump Men" />

            <TextBlock
                    Name="txtDetail"
                    Grid.Column="1"
                    HorizontalAlignment="Right"
                    VerticalAlignment="Center"
                    FontSize="20"
                    Foreground="SteelBlue"
                    Text="Results" />

        </Grid>

    </Border>
</UserControl>
